#!/bin/bash

#Usage ./clean_port.sh $ports

for PORT in "$@"
do
    rm -rf ${PORT}.log
    rm -rf appendonly-${PORT}.aof
    rm -rf ${PORT}.rdb
    rm -rf dump-${PORT}.rdb
    rm -rf nodes-${PORT}.conf
    rm -rf dump-${PORT}.conf
done
